admin update-kernel: Ensure initramfs has correct owner/mode
authorColin Walters <walters@verbum.org>
Sun, 6 Jan 2013 11:43:49 +0000 (06:43 -0500)
committerColin Walters <walters@verbum.org>
Sun, 6 Jan 2013 11:43:49 +0000 (06:43 -0500)
commit6b868d84d8bd536e8e409b6b51d0376a584b5f85
tree4efc92febbcce528c7c3b6e07a1886862c84ebb9
parent9795f4a67e281bcd1192c1517885ed7f9eab1827
admin update-kernel: Ensure initramfs has correct owner/mode

It was 0600, and owned by the creating process (in the fuse case,
non-root!).  We want it 0644/root/root.
src/libgsystem
src/ostree/ot-admin-builtin-update-kernel.c